//
//  fujianwebViewController.m
//  tongxiangOASystem
//
//  Created by michael on 2018/4/16.
//  Copyright © 2018年 czd. All rights reserved.
//

#import "fujianwebViewController.h"

@interface fujianwebViewController ()

@end

@implementation fujianwebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
     _webview.backgroundColor = [UIColor whiteColor];
    _webview = [[UIWebView alloc]initWithFrame:CGRectMake(0,0, KScreenWidth, KScreenHeight-kTopHeight-LL_TabbarSafeBottomMargin)];
      _webview.delegate=self;
        _webview.scrollView.bounces = NO;

      _webview.scalesPageToFit = YES;
      [self.view addSubview:_webview];
       NSURL *urlstr = [NSURL URLWithString:_url];
        NSURLRequest *request = [NSURLRequest requestWithURL:urlstr];
    
    // 3. 发送请求给服务器
    [self.webview loadRequest:request];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
